<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>useful</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<h1 class="toc">Module useful</h1>
<hr />
  <h2 class="toc">Classes</h2>
    <a target="mainFrame" href="Priithon.useful.deco_memoized-class.html"
     >deco_memoized</a><br />  <h2 class="toc">Functions</h2>
    <a target="mainFrame" href="Priithon.useful-module.html#DEBUG_HERE"
     >DEBUG_HERE</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#FWHM"
     >FWHM</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#FWHM_s"
     >FWHM_s</a><br />  <div class="private">
    <a target="mainFrame" href="Priithon.useful-module.html#_execPriithonRunCommands"
     >_execPriithonRunCommands</a><br />  </div>
  <div class="private">
    <a target="mainFrame" href="Priithon.useful-module.html#_fixDisplayHook"
     >_fixDisplayHook</a><br />  </div>
  <div class="private">
    <a target="mainFrame" href="Priithon.useful-module.html#_getGoodifiedArray"
     >_getGoodifiedArray</a><br />  </div>
  <div class="private">
    <a target="mainFrame" href="Priithon.useful-module.html#_getImgMode"
     >_getImgMode</a><br />  </div>
  <div class="private">
    <a target="mainFrame" href="Priithon.useful-module.html#_getRCfile"
     >_getRCfile</a><br />  </div>
  <div class="private">
    <a target="mainFrame" href="Priithon.useful-module.html#_getSourceCodeFilename"
     >_getSourceCodeFilename</a><br />  </div>
  <div class="private">
    <a target="mainFrame" href="Priithon.useful-module.html#_getSourceCodeFuncName"
     >_getSourceCodeFuncName</a><br />  </div>
  <div class="private">
    <a target="mainFrame" href="Priithon.useful-module.html#_getSourceCodeLine"
     >_getSourceCodeLine</a><br />  </div>
  <div class="private">
    <a target="mainFrame" href="Priithon.useful-module.html#_getSourceCodeLocation"
     >_getSourceCodeLocation</a><br />  </div>
  <div class="private">
    <a target="mainFrame" href="Priithon.useful-module.html#_getconv"
     >_getconv</a><br />  </div>
  <div class="private">
    <a target="mainFrame" href="Priithon.useful-module.html#_raiseRuntimeError"
     >_raiseRuntimeError</a><br />  </div>
  <div class="private">
    <a target="mainFrame" href="Priithon.useful-module.html#_saveSeq_getFixedFN"
     >_saveSeq_getFixedFN</a><br />  </div>
  <div class="private">
    <a target="mainFrame" href="Priithon.useful-module.html#_string_like"
     >_string_like</a><br />  </div>
    <a target="mainFrame" href="Priithon.useful-module.html#arr"
     >arr</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#arrC"
     >arrC</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#arrCC"
     >arrCC</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#arrD"
     >arrD</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#arrF"
     >arrF</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#arrI"
     >arrI</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#arrS"
     >arrS</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#arrSharedMemory"
     >arrSharedMemory</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#arrU"
     >arrU</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#array2image"
     >array2image</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#asFloat32"
     >asFloat32</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#asUInt16"
     >asUInt16</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#binaryRepr"
     >binaryRepr</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#calc_threshold_basic"
     >calc_threshold_basic</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#calc_threshold_otsu"
     >calc_threshold_otsu</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#calc_threshold_otsu2"
     >calc_threshold_otsu2</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#calc_threshold_otsu3"
     >calc_threshold_otsu3</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#checkGoodArrayF"
     >checkGoodArrayF</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#clip"
     >clip</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#debug"
     >debug</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#deco_addInstanceMethodTo"
     >deco_addInstanceMethodTo</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#deco_simple_decorator"
     >deco_simple_decorator</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#deg2rad"
     >deg2rad</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#deriv1D"
     >deriv1D</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#diffAngle"
     >diffAngle</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#dirNA"
     >dirNA</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#email"
     >email</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#exe"
     >exe</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#fac"
     >fac</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#factorial"
     >factorial</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#fib"
     >fib</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#fib2"
     >fib2</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#findMax"
     >findMax</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#findMin"
     >findMin</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#fitAny"
     >fitAny</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#fitAny_leftSided"
     >fitAny_leftSided</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#fitDecay"
     >fitDecay</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#fitGaussian"
     >fitGaussian</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#fitLine"
     >fitLine</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#fitPoly"
     >fitPoly</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#flatten"
     >flatten</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#gamma"
     >gamma</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#generalhistogram"
     >generalhistogram</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#getHomeDir"
     >getHomeDir</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#grep"
     >grep</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#hasDuplicates"
     >hasDuplicates</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#hexdump"
     >hexdump</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#histogram"
     >histogram</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#histogramXY"
     >histogramXY</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#histogramYX"
     >histogramYX</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#image2array"
     >image2array</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#insert"
     >insert</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#interpolate1d"
     >interpolate1d</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#iterIndices"
     >iterIndices</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#iterPermutations"
     >iterPermutations</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#iterProduct"
     >iterProduct</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#l1norm"
     >l1norm</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#l2norm"
     >l2norm</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#load"
     >load</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#loadFits"
     >loadFits</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#loadHIS"
     >loadHIS</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#loadImageFromURL"
     >loadImageFromURL</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#loadImg"
     >loadImg</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#loadImg_iterSec"
     >loadImg_iterSec</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#loadImg_seq"
     >loadImg_seq</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#loadSPE"
     >loadSPE</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#loadTxt"
     >loadTxt</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#localsAsOneObject"
     >localsAsOneObject</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#max"
     >max</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#max2d"
     >max2d</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#mean"
     >mean</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#mean2d"
     >mean2d</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#median"
     >median</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#median2"
     >median2</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#median22d"
     >median22d</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#median2d"
     >median2d</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#memNAprofile"
     >memNAprofile</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#min"
     >min</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#min2d"
     >min2d</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#mm"
     >mm</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#mm2d"
     >mm2d</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#mmm"
     >mmm</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#mmm2d"
     >mmm2d</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#mmms"
     >mmms</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#mmms2d"
     >mmms2d</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#myStr"
     >myStr</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#naSetArrayPrintMode"
     >naSetArrayPrintMode</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#nd__center_of_mass"
     >nd__center_of_mass</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#nd__maximum_position"
     >nd__maximum_position</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#nd__minimum_position"
     >nd__minimum_position</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#nd__sum"
     >nd__sum</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#noiseSigma"
     >noiseSigma</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#norm"
     >norm</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#normAngle"
     >normAngle</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#pathPrependToFilename"
     >pathPrependToFilename</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#path_mkdir"
     >path_mkdir</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#phase"
     >phase</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#polar2cplx"
     >polar2cplx</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#primeFactors"
     >primeFactors</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#primes"
     >primes</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#project"
     >project</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#project_lowmem"
     >project_lowmem</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#rad2deg"
     >rad2deg</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#radialHistogram"
     >radialHistogram</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#reload"
     >reload</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#reloadAll"
     >reloadAll</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#rms"
     >rms</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#rot3d"
     >rot3d</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#rot90"
     >rot90</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#saveFits"
     >saveFits</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#saveImg"
     >saveImg</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#saveImg8"
     >saveImg8</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#saveImg8_seq"
     >saveImg8_seq</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#saveImg_seq"
     >saveImg_seq</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#saveTiffMultipage"
     >saveTiffMultipage</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#saveTiffMultipageFromSeq"
     >saveTiffMultipageFromSeq</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#saveTxt"
     >saveTxt</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#sgn"
     >sgn</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#signal2noise"
     >signal2noise</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#smooth1d"
     >smooth1d</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#stddev"
     >stddev</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#strTranslate"
     >strTranslate</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#text2array"
     >text2array</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#timeIt"
     >timeIt</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#topPercentile"
     >topPercentile</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#topPercentile2d"
     >topPercentile2d</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#trans2d"
     >trans2d</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#translate2d"
     >translate2d</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#transmat2d"
     >transmat2d</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#unique"
     >unique</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#uu_decodestring"
     >uu_decodestring</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#uu_encodestring"
     >uu_encodestring</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#yDecay"
     >yDecay</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#yGaussian"
     >yGaussian</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#yLine"
     >yLine</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#yPoly"
     >yPoly</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#zip_extractall"
     >zip_extractall</a><br />    <a target="mainFrame" href="Priithon.useful-module.html#zip_zipDir"
     >zip_zipDir</a><br />  <h2 class="toc">Variables</h2>
  <div class="private">
    <a target="mainFrame" href="Priithon.useful-module.html#_FWHM_over_gaussStddev"
     >_FWHM_over_gaussStddev</a><br />  </div>
    <a target="mainFrame" href="Priithon.useful-module.html#_U_nd_extra_doc_"
     >_U_nd_extra_doc_</a><br />  <div class="private">
    <a target="mainFrame" href="Priithon.useful-module.html#_pi_over_180"
     >_pi_over_180</a><br />  </div>
<hr />
<span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
